Skip to content

fix: package Lambda dependencies for Linux#11

Merged
adamweeks merged 1 commit into
mainfrom
feat/lambda-linux-packaging
Jul 10, 2026
Merged

fix: package Lambda dependencies for Linux#11
adamweeks merged 1 commit into
mainfrom
feat/lambda-linux-packaging

Conversation

@adamweeks

Copy link
Copy Markdown
Contributor

Summary

  • Package Lambda dependencies for the configured Linux runtime rather than the host platform.
  • Support x86_64 by default and an explicit arm64 build override.
  • Document the target runtime and optional package Python executable.

Root cause

Running the package script on macOS could include macOS-native wheels, which Lambda cannot import.

Validation

  • bash -n deploy/package_lambda.sh
  • cd deploy && ./package_lambda.sh
  • Verified archive integrity, SDK files, and Linux ELF bytes in a bundled native extension.

@adamweeks
adamweeks marked this pull request as ready for review July 10, 2026 20:28
@adamweeks
adamweeks merged commit 4c5bd98 into main Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant